package lamma.lab.job;

/**
 * running result for job / context
 * 
 * @author maxcellent
 *
 */
@Deprecated
public class Result {
	
	public enum Status {
		SUCCESS, 
		FAILED,
	}

	private Status status;
	
	private Throwable throwable;

	Result(Status status, Throwable throwable) {
		super();
		this.status = status;
		this.throwable = throwable;
	}

	public Status getStatus() {
		return status;
	}

	public Throwable getThrowable() {
		return throwable;
	}
}
